<%@ page language="java" isELIgnored="false" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
<title>代理监控</title>
<%@ include file="/common/liger_ui.jsp" %>
<script type="text/javascript">
$(function (){ 
	var griddata=${data};
	var grid = $("#maingrid").ligerGrid({
			rownumbers :true,
	            columns: [
	             { name: 'userName', display: '使用者', align:'left' ,width: 200 },
                 { name: 'useNum', display: '次数', width: 170,align:'left',type:'int'  },
                 { name: 'useTime', display: '使用总时间(h)', width: 170,align:'left',type:'int', render: function (row){
                	 return parseFloat(row.useTime/(3600)).toFixed(4);
                 } },
                 { name: 'frequency', display: '频率(h/次数) ', width: 170,align:'left',render: function (row){
                	 var html=parseFloat(row.frequency/3600).toFixed(3);
                	 return html;
                 } },
             ],pageSize: 15,
             data: { Rows: griddata }
         }); 
		});
</script>
<style type="text/css">
<!--
.STYLE1 {
	color: #990000;
	font-weight: bold;
}
-->
</style>
</head>

<body>
    <div id="maingrid"></div>
</body>
</html>

